#ifndef ADMIN_H
#define ADMIN_H

class AdminPipe;

class Admin
{
	public:
		Admin();
		~Admin();

		bool8 initOk();

		void shutdown();
		void stop();

	protected:
		static uint32 __stdcall threadProc(Admin*);

		bool8 start();

	protected:
		AdminPipe* pipe;
		HANDLE hStopEvt;
		HANDLE hThread;
};

#endif
